home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / libs / viewwrld / viewwrld.lha / viewworld / gr / internal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-21  |  2.7 KB  |  91 lines

  1. /* $Id: internal.h,v 2.3 89/09/20 17:01:43 mbp Exp $
  2.  *
  3.  * internal.h: definitions shared among several files but which are
  4.  *    meant to be internal to GR; application programs should not
  5.  *    use these.
  6.  */
  7.  
  8. /************************************************************************
  9.  *        Copyright (C) 1989 by Mark B. Phillips                  *
  10.  *                                     *
  11.  * Permission to use, copy, modify, and distribute this software and    *
  12.  * its documentation for any purpose and without fee is hereby granted, *
  13.  * provided that the above copyright notice appear in all copies and    *
  14.  * that both that copyright notice and this permission notice appear in *
  15.  * supporting documentation, and that the name of Mark B. Phillips or   *
  16.  * the University of Maryland not be used in advertising or publicity   *
  17.  * pertaining to distribution of the software without specific, written *
  18.  * prior permission.  This software is provided "as is" without express *
  19.  * or implied warranty.                                                 *
  20.  ************************************************************************/
  21.  
  22. #include <suntool/sunview.h>
  23. #include <suntool/panel.h>
  24. #include <suntool/canvas.h>
  25. #include <suntool/walkmenu.h>
  26. #include <suntool/scrollbar.h>
  27. #include <suntool/tty.h>
  28. #include <suntool/textsw.h>
  29. #include <pixrect/pixrect_hs.h>
  30.  
  31. #define GR_ERROR_MESSAGE_LENGTH    109
  32.  
  33. extern Frame    GR_base_frame;
  34. extern Canvas    GR_canvas;
  35.  
  36. extern Panel    GR_app_panel;
  37. extern Panel    GR_control_panel;
  38. extern Panel    GR_error_panel;
  39.  
  40. extern Frame    GR_help_frame;
  41. extern Panel    GR_help_panel;
  42. extern Textsw    GR_help_textsw;
  43.  
  44. extern Frame    GR_ps_frame;
  45. extern Panel    GR_ps_panel;
  46.  
  47. extern Frame    GR_confirmer_frame;
  48. extern Panel    GR_confirmer_panel;
  49.  
  50. extern Pixwin    *GR_canvas_pw;
  51.  
  52. extern Frame    GR_anim_frame;
  53. extern Panel    GR_anim_panel;
  54.  
  55. extern int        GR_canvas_width;
  56. extern int        GR_canvas_height;
  57. extern Panel_item    GR_app_coordinate_message;
  58. extern char        *(*GR_coordinate_display_proc)();
  59. extern int        GR_window_open;
  60. extern int        GR_show_ps_frame();
  61. extern Pixrect        *GR_mouse_image_pr_ptr();
  62. extern Pixfont        *GR_regular_font, *GR_bold_font;
  63. extern gr_Menu        GR_current_menu;
  64. extern int         (*GR_redraw_proc)();
  65. extern char        *GR_logo;
  66. extern char         *GR_center_string();
  67.  
  68. #ifdef THREE_D
  69. extern Panel    GR_view_control_panel;
  70.  
  71. extern int    GR_save_button_proc();
  72. extern int    GR_recording_trigger;
  73. extern int    GR_recording_count;
  74. extern int    GR_interrupted;
  75. extern int    GR_drawing_mode_value;
  76. extern int    GR_rotation_angle_slider_value;
  77. extern int    GR_zoom_factor_slider_value;
  78. extern int    GR_perspective_factor_slider_value;
  79. extern double    GR_pan_factor;
  80. extern int    *GR_point_list;
  81. extern int    GR_point_list_count;
  82.  
  83. #define GR_ANIM_MESSAGE_LENGTH 39
  84.  
  85. #define GR_EYE        1
  86. #define GR_FOCUS    2
  87. #define GR_UP        3
  88. #define GR_VPW        4
  89.  
  90. #endif
  91.